package dao;

import java.sql.Timestamp;

//实体类的创建
public class PersonModel extends Object implements Cloneable{
//	int id;			//一般不用真实主键
//	private Integer id;			//如果要使用id，则定义为Integer，防止int类型的默认值0而非null造成错误。
	private String code;		//逻辑主键
	private String name;		//
	private Integer age;		//
	private String gender;		//
	private String birthday;	//
	private String entrytime;
	
	public Object clone(){  
	    try{  
	        return super.clone();  
	    }catch(Exception e){ 
	        return null; 
	    }
	}
	public String getEntrytime() {
		return entrytime;
	}
	public void setEntrytime(String entrytime) {
		this.entrytime = entrytime;
	}
	//getter setter方法一键生成
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public Timestamp getEntryTimeBegin() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
